home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 2001 May / SGI IRIX 6.5 Applications 2001 May.iso / dev / insight_dev.idb / usr / lib / Insight / dweb / dtl2html / sgipreproc.dwc.z / sgipreproc.dwc
Encoding:
Text File  |  2001-04-05  |  1.1 KB  |  45 lines

  1.  
  2. dwOnEvent PreProcessRequest HandlePreProcessRequestEvent
  3. dwOnEvent PostProcessRequest HandlePostProcessRequestEvent
  4.  
  5. dwScript HandlePreProcessRequestEvent {
  6.  
  7.    set locale "C"
  8.  
  9.    dwSetOutputEncoding           "iso8859-1"
  10.    dwSetContentType              "text/html; charset=iso-8859-1"
  11.    dwSet ActiveQuery             ""
  12.  
  13.    ## chunking amount
  14.    dwSetPageMaxBytesHint         -1
  15.    dwSetTocMaxLinesHint        4096
  16.  
  17.    ## Get the state params
  18.    dwSet State__FramesSupport     0
  19.    dwSet State__Frames            0
  20.    dwSet State__Tables            1
  21.    dwSet State__Entities          1
  22.    dwSet State__TocDepth          4
  23.    dwSet State__CollTocDepth      1
  24.    dwSet State__TocLoc            ""
  25.    dwSet State__UpdateOtherFrames 0
  26.    dwSet State__NoNavigation      1
  27.    dwSet State__NoAutoHit         1
  28.  
  29.    dwSet DoReveal                 1
  30.    dwSet ShowingRootCollection    0
  31.    dwSet State__UpdateOtherFrames 0
  32.  
  33.    dwSet State__ContentStyle [dwGetParam ContentStylesheet]
  34.    dwSet TextStylesheet $State__ContentStyle
  35.  
  36.    dwSet State__TocStyle [dwGetParam TocStylesheet]
  37.  
  38.    return Proceed
  39. }
  40.  
  41. dwScript HandlePostProcessRequestEvent {
  42.    ## Nothing defined here!
  43. }
  44.  
  45.